using System.Web.UI;

namespace Web
{
   public class AppPage : Page
   {
      public void Write(object obj)
      {
         Write(obj == null ? "null" : obj.ToString());
      }

      public void Write(string format, params object[] args)
      {
         if (!Trace.IsEnabled) Trace.IsEnabled = true;
         Trace.Write(string.Format(format, args));
      }
   }
}